<template>
    <div class="register">
      <div class="register-header">
        <router-link tag="i"
                     to="/register/login"
                     v-if="$route['name']==='authCode'"
                     class="el-icon-arrow-left"></router-link>
        <router-link tag="p"
                     v-if="$route['name']==='authCode'"
                     to="/register/login"
        >新用户注册</router-link>
        <router-link v-if="$route['name']==='login'||$route['name']==='ringUp'" to="/center/sevice" tag="span">客服</router-link>
      </div>
        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        name: "register",
    }
</script>

<style scoped>
  .register-header{
    height: 70px;
    padding: 0 40px;
    box-sizing: border-box;
    width: 100vw;
    line-height: 70px;
    text-align: center;
  }
  .register-header>div>img{
    float: left;
    width: 30px;
    margin-top: 20px;
  }
  .register-header>i{
    float: left;
    font-size: 42px;
    margin-top: 15px;
    font-weight: bold;
    color: #333333;
  }
  .register-header>p{
    display: inline-block;
    font-size: 34px;
    color: #2d2d2d;

  }
  .register-header>span{
    float: right;
    font-size: 34px;
    color: #2d2d2d;
  }

</style>
